package com.woniu.hospital.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.math.BigDecimal;

@FeignClient("wolf-outpatient")
public interface IPrescriptionService {
    @GetMapping("/prescription/drugCost/{patientId}")
    BigDecimal drugCost(@PathVariable("patientId") Long patientId);
}
